<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>物业管理软件</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="description" content="Charisma, a fully featured, responsive, HTML5, Bootstrap admin template.">
	<meta name="author" content="Muhammad Usman">
	<#include "*/pubcss.ftl">
</head>

<body>
	<#include "*/top.ftl">
	<!-- topbar ends -->
	<div class="container-fluid">
		<div class="row-fluid">
			<#include "*/left.ftl">
			<div id="content" class="span10">
			<!-- content starts -->
			<div>
				<ul class="breadcrumb">
					<li>
						<a href="#">基础资料</a> <span class="divider">/</span>
					</li>
					<li>
						<a href="#">卫生费管理</a> <span class="divider">/</span>
					</li>
					<li>
						<a href="#">卫生费维护</a>
					</li>
				</ul>
			</div>
		    <form class="form-horizontal"  action="javascript:saveFees()">
		    <div class="row-fluid sortable">
				<button type="button" class="btn btn-primary" onclick="javascript:window.history.back();">返回</button>
		    </div>
			<div class="row-fluid sortable">		
				<div class="box span12">
					<div class="box-header well" data-original-title>
						<h2><i class="icon-user"></i>卫生费信息</h2>
					</div>
					<div class="box-content">
						<div class="row-fluid">
							<div class="span6">
							   <fieldset>
								<div class="control-group form-horizontal">
								   <label class="control-label" for="focusedInput">小区名称</label>
									<div class="controls">
									   
									      <input class="input-xlarge focused" id="fid" name="fid" type="hidden" value="${(fees.fid)?if_exists}">
									      <input class="input-xlarge focused" id="cid" name="cid" type="hidden" value="${(community.cid)?if_exists}">
										  <input class="input-xlarge focused" id="cname" name="cname" disabled type="text" value="${(community.cname)?if_exists}">
										
									</div>
								</div>
								</fieldset> 
							</div>
                        </div>
						<div class="row-fluid">
							<div class="span12">
								<div class="control-group form-horizontal">
									<label class="control-label" for="focusedInput">说明</label>
									<div class="controls">
										<textarea class="" id="fcontent" rows="3" disabled>${(fees.content)?if_exists}</textarea>
									</div>
								</div>
							</div>
						</div>
						<table class="table table-bordered table-striped table-condensed" id="dynamictable">
						  <thead>
							  <tr>
							      <th>选择</th>
								  <th>序号</th>
								  <th>费用类型</th>
								  <th>单价</th>
							  </tr>
						  </thead>   
						  <tbody>
							<#assign index=1>
							<#list (feesItems)?if_exists as f>
							   <tr>
							    <td><input type="checkbox" id="inlineCheckbox1" name="ckb" value="${index}"></td>
								<td id="index">${index}</td>
								<td class="center">
								   <#assign ftidsign=(f.feesType.ftid=='001')>
								   <select name="sftid" disabled>
								      <option value="001" ${ftidsign?string('selected','')}>袋装化肥</option>
									  <option value="002" ${ftidsign?string('','selected')}>倾倒费</option>
								   </select>
								</td>
								<td class="center">
									<input class="input-xlarge focused" name="price" disabled type="text" value="${(f.price)?if_exists}">
								</td>
							  </tr>
							<#assign index=index+1>
							</#list>
							
						  </tbody>
					  </table>
                      </div> 
					</div>
				</div><!--/span-->
			
			</div><!--/row-->
		    </form>
       
			<!-- content ends -->
			</div><!--/#content.span10-->
		</div><!--/fluid-row-->

		
	</div><!--/.fluid-container-->

	<#include "*/infotemplate/alert.ftl">
    <#include "*/infotemplate/saveinfo.ftl">
	<#include "*/pubjs.ftl">
	<script src='${base}/script/base/fees_edit.js'></script>	
		
</body>
</html>
